# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-django-registration
_pyname=django-registration
pkgver=3.1
pkgrel=0
pkgdesc="simple user-registration application for Django"
url="https://github.com/ubernostrum/django-registration"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="$_pyname-$pkgver.tar.gz::https://github.com/ubernostrum/django-registration/archive/$pkgver.tar.gz"

builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="86764b317ab6d841028f19abc03cd76fb571a88a3073c6aad4de2d0b186b9a2b6a5b5f16b66530997b26adca704b0594619cf31ed1a2eb757c81e6913f62f2b9  django-registration-3.1.tar.gz"
